<!-- 字典 -->
<div id="module-tab" class="tab-pane active" role="tabpanel">
	<div class="row">
        <!--搜索域-->
        <div class="col-xs-12">
        	<div class="search-area">
        		<form id="table-module-search" class="form-inline">
    				<input type="hidden" name="menu.type" value="0"/>
                 	<div class="form-group">
                    	<label for="menu.name">模块名称：</label>
                    	<input type="text" class="form-control input-sm" id="menu.name" name="menu.name" value="" placeholder="">
                 	</div>
                 	<button id="btn-module-search" type="button" class="btn btn-info btn-sm no-border">
                 		<i class="ace-icon fa fa-search bigger-110"></i>查询
                 	</button>
                 	<div class="form-group pull-right">
						<span>查询方式：</span>
						<label class="radio-inline">
							<input type="radio" name="searchType" value="1" checked="checked" />精确
						</label>
						<label class="radio-inline">
							<input type="radio" name="searchType" value="0" />模糊
						</label>
					</div>
                </form>
            </div>
        </div>
    </div>
	<!-- 数据表格 -->
       <div class="row">
           <div class="col-xs-12">
           	<div id="table-module-toolbar">
           		<div class="btn-group btn-group-sm">
           			<!-- 
                    <button id="viewmodule" class="btn btn-purple btn-sm no-border" >
                        <i class="ace-icon fa  fa-eye bigger-110 "></i>查看
                    </button>
                    <button id="addmodule" class="btn btn-info btn-sm no-border" 
                    onclick="goAdd('新增模块', 'system/admin/menu/add?type=0', 'table-module');">
                        <i class="ace-icon fa fa-plus bigger-110"></i>新增
                    </button>
                    <button id="editmodule" class="btn btn-success btn-sm no-border"
                    onclick="goUpdate('编辑模块', 'system/admin/menu/edit', 'table-module');">
                        <i class="ace-icon fa fa-pencil-square-o bigger-110"></i>编辑
                    </button>
                    <button id="delmodule" class="btn btn-danger btn-sm no-border"
                    onclick="doDels('system/admin/menu/deletes', 'table-module');">
                        <i class="ace-icon fa fa-trash-o bigger-110"></i>删除
                    </button>
                    -->
                    <x:toolbar menuId="${menuId}" elemIds="addModule,editModule,delModule">
	                	</x:toolbar>
                   </div>
               </div>
           	<table id="table-module" 
           			data-toolbar="#table-module-toolbar" 
           			data-sort-name="sorting" 
           			data-sort-order="asc"
           			data-show-columns="true"
           			data-id-filed="uuid">
           		 <thead>
                       <tr>
                           <th data-field="state" data-checkbox="true"></th>
                           <th data-width="120" data-field="name" data-align="left" data-sortable="false">模块名称</th>
                           <th data-field="sorting" data-align="left" data-sortable="true">模块顺序</th>
                       </tr>
                   </thead>
               </table>
           </div>
       </div>
</div>